package controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;

public class IndexContoller extends MultiActionController{
	
	public ModelAndView index(HttpServletRequest request, HttpServletResponse response) throws Exception{
		request.getSession().invalidate();
		return new ModelAndView("index/index");
	}
	
	public ModelAndView menu(HttpServletRequest request, HttpServletResponse response) throws Exception{
		return new ModelAndView("index/menu");
	}
}
